<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>N3RD CH4T: friendRequestsWindow Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">N3RD CH4T
   &#160;<span id="projectnumber">Final Version</span>
   </div>
   <div id="projectbrief">CS340 Project</div>
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#signals">Signals</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pri-slots">Private Slots</a> &#124;
<a href="#pri-attribs">Private Attributes</a>  </div>
  <div class="headertitle">
<div class="title">friendRequestsWindow Class Reference</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="friendRequestsWindow" -->
<p>The <a class="el" href="classfriend_requests_window.html" title="The friendRequestsWindow helper methods.">friendRequestsWindow</a> helper methods.  
 <a href="classfriend_requests_window.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="friendrequestswindow_8h_source.html">friendrequestswindow.h</a>&gt;</code></p>

<p><a href="classfriend_requests_window-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="signals"></a>
Signals</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classfriend_requests_window.html#ab2a4caa7d0a46d26a469004c42cc2e61">confirmFriendRequest</a> (QString, bool)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Signal that confirms the friend request.  <a href="#ab2a4caa7d0a46d26a469004c42cc2e61"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="afe23370fdcb63e1c55b23036f341f084"></a><!-- doxytag: member="friendRequestsWindow::friendRequestsWindow" ref="afe23370fdcb63e1c55b23036f341f084" args="(QWidget *parent, QString personReceiving)" -->
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classfriend_requests_window.html#afe23370fdcb63e1c55b23036f341f084">friendRequestsWindow</a> (QWidget *parent, QString personReceiving)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor method for <a class="el" href="classfriend_requests_window.html" title="The friendRequestsWindow helper methods.">friendRequestsWindow</a>. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a210781a346479bf4d6d707edaf652883"></a><!-- doxytag: member="friendRequestsWindow::~friendRequestsWindow" ref="a210781a346479bf4d6d707edaf652883" args="()" -->
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classfriend_requests_window.html#a210781a346479bf4d6d707edaf652883">~friendRequestsWindow</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Deconstructor method for <a class="el" href="classfriend_requests_window.html" title="The friendRequestsWindow helper methods.">friendRequestsWindow</a>. <br/></td></tr>
<tr><td colspan="2"><h2><a name="pri-slots"></a>
Private Slots</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classfriend_requests_window.html#a7cf2bda22d58f0b3e8c04c0e65798587">handleFriendshipConfirmation</a> (QString personSendingRequest)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Slot that handles the friend request confirmation.  <a href="#a7cf2bda22d58f0b3e8c04c0e65798587"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aea7fbb35f38536f1c5643bc98de97577"></a><!-- doxytag: member="friendRequestsWindow::on_acceptButton_clicked" ref="aea7fbb35f38536f1c5643bc98de97577" args="()" -->
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classfriend_requests_window.html#aea7fbb35f38536f1c5643bc98de97577">on_acceptButton_clicked</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Slot that determines if the user clicks the accept button. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aaace2af521ade44820b78ea5cb9f338e"></a><!-- doxytag: member="friendRequestsWindow::on_denyButton_clicked" ref="aaace2af521ade44820b78ea5cb9f338e" args="()" -->
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classfriend_requests_window.html#aaace2af521ade44820b78ea5cb9f338e">on_denyButton_clicked</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Slot that determines if the user clicks the deny button. <br/></td></tr>
<tr><td colspan="2"><h2><a name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a30a7e11b0389fa6f0959144239dd51b2"></a><!-- doxytag: member="friendRequestsWindow::ui" ref="a30a7e11b0389fa6f0959144239dd51b2" args="" -->
Ui::friendRequestsWindow *&#160;</td><td class="memItemRight" valign="bottom"><b>ui</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a134c8a0184cfc3ad4db181ae5a7d5b20"></a><!-- doxytag: member="friendRequestsWindow::listOfCurrentRequests" ref="a134c8a0184cfc3ad4db181ae5a7d5b20" args="" -->
QList&lt; QString &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classfriend_requests_window.html#a134c8a0184cfc3ad4db181ae5a7d5b20">listOfCurrentRequests</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The list of all current friend requests variable. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a71213b70e16307bdc01e57fb193035e2"></a><!-- doxytag: member="friendRequestsWindow::personReceivingRequests" ref="a71213b70e16307bdc01e57fb193035e2" args="" -->
QString&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classfriend_requests_window.html#a71213b70e16307bdc01e57fb193035e2">personReceivingRequests</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The person receiving a friend request variable. <br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>The <a class="el" href="classfriend_requests_window.html" title="The friendRequestsWindow helper methods.">friendRequestsWindow</a> helper methods. </p>
</div><hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="ab2a4caa7d0a46d26a469004c42cc2e61"></a><!-- doxytag: member="friendRequestsWindow::confirmFriendRequest" ref="ab2a4caa7d0a46d26a469004c42cc2e61" args="(QString, bool)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void friendRequestsWindow::confirmFriendRequest </td>
          <td>(</td>
          <td class="paramtype">QString&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname">&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [signal]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Signal that confirms the friend request. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">personToAcceptName</td><td>The username of the user to accept as a friend </td></tr>
    <tr><td class="paramname">true</td><td>A boolean value that confirms a successful add </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a7cf2bda22d58f0b3e8c04c0e65798587"></a><!-- doxytag: member="friendRequestsWindow::handleFriendshipConfirmation" ref="a7cf2bda22d58f0b3e8c04c0e65798587" args="(QString personSendingRequest)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void friendRequestsWindow::handleFriendshipConfirmation </td>
          <td>(</td>
          <td class="paramtype">QString&#160;</td>
          <td class="paramname"><em>personSendingRequest</em></td><td>)</td>
          <td><code> [private, slot]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Slot that handles the friend request confirmation. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">personSendingRequest</td><td>The username of the user sending out the request </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>/Users/plamontagna/Documents/spa-cs340project/im_client_v2/<a class="el" href="friendrequestswindow_8h_source.html">friendrequestswindow.h</a></li>
<li>/Users/plamontagna/Documents/spa-cs340project/im_client_v2/<a class="el" href="friendrequestswindow_8cpp.html">friendrequestswindow.cpp</a></li>
</ul>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Generated on Tue Nov 29 2011 23:53:09 for N3RD CH4T by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.5.1
</small></address>

</body>
</html>
